<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Creating summary metrics in documents</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:16px; height:12px; float:none; border-style:none; }
ol.whs2 { list-style:decimal; }
ul.whs3 { list-style:disc; }
-->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nCreating and formatting a document\nWorking with metrics and totals in documents\nCalculating totals and summary metrics in documents\nWorking with summary metrics in documents");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Creating summary metrics in documents </h1>
<p>A summary metric is essentially a shortcut to a subtotal. It allows 
 you to select the function to use to calculate the subtotal (that is, 
 a summary). If you use a metric from a dataset report rather than a summary 
 metric, the default subtotal function is used to subtotal the metric. 
 This is set in the metric definition and cannot be changed in the document.</p>
<p>Other than this explicit aggregation, summary metrics are similar to 
 other metrics used in documents. For instance, a summary metric is calculated 
 differently depending on its location in the document. You can reuse a 
 summary metric in different places within the same document. </p>
<p>In the Dataset Objects panel, summary metrics are listed with a summary 
 metric <img src="images/summarymetric.gif" x-maintain-ratio="TRUE" width="16px" height="12px" border="0" class="img_whs1"> icon.</p>
<p>The <span style="font-style: italic;"><I>MicroStrategy Report Services 
 Document Creation Guide</I></span> contains a more detailed explanation of 
 summary metrics in documents, as well as examples. </p>
<h2>To create a summary metric</h2>
<ol type="1" class="whs2">
	
<li class=p><p>Open the document in <span style="font-weight: bold;"><B>Design 
 Mode</B></span> or <span style="font-weight: bold;"><B>Editable Mode</B></span>. 
 </p></li>
	
<li class=p><p>Right-click the metric in Dataset Objects, point to 
 <span style="font-weight: bold;"><B>Insert Summary Metric</B></span>, and select 
 the function to use. The new summary metric is added to the appropriate 
 dataset in Dataset Objects. </p></li>
	
<li class=p><p>You can rename the summary metric. To do so, right-click 
 the summary metric <img src="images/summarymetric.gif" x-maintain-ratio="TRUE" width="16px" height="12px" border="0" class="img_whs1"> in Dataset Objects and select <span style="font-weight: bold;"><B>Rename</B></span>. 
 The Rename/Edit Objects dialog box opens. Change the name and click <span 
 style="font-weight: bold;"><B>OK</B></span>. &nbsp;</p></li>
</ol>
<p>You can use the summary metric as you would any other dataset object. 
 You can drag and drop it from the Dataset Objects to the document layout 
 area to place it into the document.</p>
<h2>To delete a summary metric</h2>
<ol type="1" class="whs2">
	
<li class=p><p>Open the document in <span style="font-weight: bold;"><B>Design 
 Mode</B></span> or <span style="font-weight: bold;"><B>Editable Mode</B></span>. 
 </p></li>
	
<li class=p><p>Right-click the summary metric in Dataset Objects and 
 select <span style="font-weight: bold;"><B>Delete From Document</B></span>. </p></li>
</ol>
<h3>Related topics</h3>
<ul type="disc" class="whs3">
	
<li class=p><p>
<a HREF="Totals_and_summary_metrics.htm">Calculating 
 totals and summary metrics in documents</a></p></li>
</ul>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
